package com.wish.group05.base.service;

import com.wish.group05.base.dto.RoomInfoDTO;
import com.wish.group05.base.entity.RoomInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wish.group05.base.vo.RoomInfoVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author houzehui
 * @since 2022-05-24
 */
public interface IRoomInfoService extends IService<RoomInfo> {

    /**
     * 房源列表
     * @param tbRoomInfo
     * @return
     */
    List<RoomInfo> getList(RoomInfo tbRoomInfo);

    /**
     * 查询房态（分散式）
     * @param roomInfoDTO
     * @return
     */
    List<RoomInfoVO> getDisperseList(RoomInfoDTO roomInfoDTO);

    /**
     * 查询房态（集中式）
     * @param roomInfoDTO
     * @return
     */
    List<RoomInfoVO> getJzList(RoomInfoDTO roomInfoDTO);

    /**
     * 详情
     * @param roomInfoDTO
     * @return
     */
    List<RoomInfoVO> findPageListDetailByJz(RoomInfoDTO roomInfoDTO);
}